#pragma once


#include "Includes.h"

#include "Thread.h"
#include "SerialConnection.h"

/// BANANAS
class ConnectionMonkey : public Thread {
public:
	ConnectionMonkey(IConnection& con);
	void run() override;
	void setInterval(int i);

	void stop() override;

private:
	IConnection& _con;
	int mInterval;
	bool _doRun;
};